package com.elitel.frame.main.entity.polym;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CfgMultResultFieldExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CfgMultResultFieldExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andResultFieldIdIsNull() {
            addCriterion("result_field_id is null");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdIsNotNull() {
            addCriterion("result_field_id is not null");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdEqualTo(String value) {
            addCriterion("result_field_id =", value, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdNotEqualTo(String value) {
            addCriterion("result_field_id <>", value, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdGreaterThan(String value) {
            addCriterion("result_field_id >", value, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdGreaterThanOrEqualTo(String value) {
            addCriterion("result_field_id >=", value, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdLessThan(String value) {
            addCriterion("result_field_id <", value, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdLessThanOrEqualTo(String value) {
            addCriterion("result_field_id <=", value, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdLike(String value) {
            addCriterion("result_field_id like", value, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdNotLike(String value) {
            addCriterion("result_field_id not like", value, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdIn(List<String> values) {
            addCriterion("result_field_id in", values, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdNotIn(List<String> values) {
            addCriterion("result_field_id not in", values, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdBetween(String value1, String value2) {
            addCriterion("result_field_id between", value1, value2, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andResultFieldIdNotBetween(String value1, String value2) {
            addCriterion("result_field_id not between", value1, value2, "resultFieldId");
            return (Criteria) this;
        }

        public Criteria andServiceIdIsNull() {
            addCriterion("service_id is null");
            return (Criteria) this;
        }

        public Criteria andServiceIdIsNotNull() {
            addCriterion("service_id is not null");
            return (Criteria) this;
        }

        public Criteria andServiceIdEqualTo(String value) {
            addCriterion("service_id =", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotEqualTo(String value) {
            addCriterion("service_id <>", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThan(String value) {
            addCriterion("service_id >", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThanOrEqualTo(String value) {
            addCriterion("service_id >=", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThan(String value) {
            addCriterion("service_id <", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThanOrEqualTo(String value) {
            addCriterion("service_id <=", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLike(String value) {
            addCriterion("service_id like", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotLike(String value) {
            addCriterion("service_id not like", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdIn(List<String> values) {
            addCriterion("service_id in", values, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotIn(List<String> values) {
            addCriterion("service_id not in", values, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdBetween(String value1, String value2) {
            addCriterion("service_id between", value1, value2, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotBetween(String value1, String value2) {
            addCriterion("service_id not between", value1, value2, "serviceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdIsNull() {
            addCriterion("source_service_id is null");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdIsNotNull() {
            addCriterion("source_service_id is not null");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdEqualTo(String value) {
            addCriterion("source_service_id =", value, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdNotEqualTo(String value) {
            addCriterion("source_service_id <>", value, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdGreaterThan(String value) {
            addCriterion("source_service_id >", value, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdGreaterThanOrEqualTo(String value) {
            addCriterion("source_service_id >=", value, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdLessThan(String value) {
            addCriterion("source_service_id <", value, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdLessThanOrEqualTo(String value) {
            addCriterion("source_service_id <=", value, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdLike(String value) {
            addCriterion("source_service_id like", value, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdNotLike(String value) {
            addCriterion("source_service_id not like", value, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdIn(List<String> values) {
            addCriterion("source_service_id in", values, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdNotIn(List<String> values) {
            addCriterion("source_service_id not in", values, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdBetween(String value1, String value2) {
            addCriterion("source_service_id between", value1, value2, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceServiceIdNotBetween(String value1, String value2) {
            addCriterion("source_service_id not between", value1, value2, "sourceServiceId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdIsNull() {
            addCriterion("source_field_id is null");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdIsNotNull() {
            addCriterion("source_field_id is not null");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdEqualTo(String value) {
            addCriterion("source_field_id =", value, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdNotEqualTo(String value) {
            addCriterion("source_field_id <>", value, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdGreaterThan(String value) {
            addCriterion("source_field_id >", value, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdGreaterThanOrEqualTo(String value) {
            addCriterion("source_field_id >=", value, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdLessThan(String value) {
            addCriterion("source_field_id <", value, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdLessThanOrEqualTo(String value) {
            addCriterion("source_field_id <=", value, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdLike(String value) {
            addCriterion("source_field_id like", value, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdNotLike(String value) {
            addCriterion("source_field_id not like", value, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdIn(List<String> values) {
            addCriterion("source_field_id in", values, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdNotIn(List<String> values) {
            addCriterion("source_field_id not in", values, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdBetween(String value1, String value2) {
            addCriterion("source_field_id between", value1, value2, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldIdNotBetween(String value1, String value2) {
            addCriterion("source_field_id not between", value1, value2, "sourceFieldId");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeIsNull() {
            addCriterion("source_field_code is null");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeIsNotNull() {
            addCriterion("source_field_code is not null");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeEqualTo(String value) {
            addCriterion("source_field_code =", value, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeNotEqualTo(String value) {
            addCriterion("source_field_code <>", value, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeGreaterThan(String value) {
            addCriterion("source_field_code >", value, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeGreaterThanOrEqualTo(String value) {
            addCriterion("source_field_code >=", value, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeLessThan(String value) {
            addCriterion("source_field_code <", value, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeLessThanOrEqualTo(String value) {
            addCriterion("source_field_code <=", value, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeLike(String value) {
            addCriterion("source_field_code like", value, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeNotLike(String value) {
            addCriterion("source_field_code not like", value, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeIn(List<String> values) {
            addCriterion("source_field_code in", values, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeNotIn(List<String> values) {
            addCriterion("source_field_code not in", values, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeBetween(String value1, String value2) {
            addCriterion("source_field_code between", value1, value2, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldCodeNotBetween(String value1, String value2) {
            addCriterion("source_field_code not between", value1, value2, "sourceFieldCode");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameIsNull() {
            addCriterion("source_field_name is null");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameIsNotNull() {
            addCriterion("source_field_name is not null");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameEqualTo(String value) {
            addCriterion("source_field_name =", value, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameNotEqualTo(String value) {
            addCriterion("source_field_name <>", value, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameGreaterThan(String value) {
            addCriterion("source_field_name >", value, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameGreaterThanOrEqualTo(String value) {
            addCriterion("source_field_name >=", value, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameLessThan(String value) {
            addCriterion("source_field_name <", value, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameLessThanOrEqualTo(String value) {
            addCriterion("source_field_name <=", value, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameLike(String value) {
            addCriterion("source_field_name like", value, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameNotLike(String value) {
            addCriterion("source_field_name not like", value, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameIn(List<String> values) {
            addCriterion("source_field_name in", values, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameNotIn(List<String> values) {
            addCriterion("source_field_name not in", values, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameBetween(String value1, String value2) {
            addCriterion("source_field_name between", value1, value2, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andSourceFieldNameNotBetween(String value1, String value2) {
            addCriterion("source_field_name not between", value1, value2, "sourceFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdIsNull() {
            addCriterion("new_field_id is null");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdIsNotNull() {
            addCriterion("new_field_id is not null");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdEqualTo(String value) {
            addCriterion("new_field_id =", value, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdNotEqualTo(String value) {
            addCriterion("new_field_id <>", value, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdGreaterThan(String value) {
            addCriterion("new_field_id >", value, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdGreaterThanOrEqualTo(String value) {
            addCriterion("new_field_id >=", value, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdLessThan(String value) {
            addCriterion("new_field_id <", value, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdLessThanOrEqualTo(String value) {
            addCriterion("new_field_id <=", value, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdLike(String value) {
            addCriterion("new_field_id like", value, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdNotLike(String value) {
            addCriterion("new_field_id not like", value, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdIn(List<String> values) {
            addCriterion("new_field_id in", values, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdNotIn(List<String> values) {
            addCriterion("new_field_id not in", values, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdBetween(String value1, String value2) {
            addCriterion("new_field_id between", value1, value2, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldIdNotBetween(String value1, String value2) {
            addCriterion("new_field_id not between", value1, value2, "newFieldId");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeIsNull() {
            addCriterion("new_field_code is null");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeIsNotNull() {
            addCriterion("new_field_code is not null");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeEqualTo(String value) {
            addCriterion("new_field_code =", value, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeNotEqualTo(String value) {
            addCriterion("new_field_code <>", value, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeGreaterThan(String value) {
            addCriterion("new_field_code >", value, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeGreaterThanOrEqualTo(String value) {
            addCriterion("new_field_code >=", value, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeLessThan(String value) {
            addCriterion("new_field_code <", value, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeLessThanOrEqualTo(String value) {
            addCriterion("new_field_code <=", value, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeLike(String value) {
            addCriterion("new_field_code like", value, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeNotLike(String value) {
            addCriterion("new_field_code not like", value, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeIn(List<String> values) {
            addCriterion("new_field_code in", values, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeNotIn(List<String> values) {
            addCriterion("new_field_code not in", values, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeBetween(String value1, String value2) {
            addCriterion("new_field_code between", value1, value2, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldCodeNotBetween(String value1, String value2) {
            addCriterion("new_field_code not between", value1, value2, "newFieldCode");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameIsNull() {
            addCriterion("new_field_name is null");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameIsNotNull() {
            addCriterion("new_field_name is not null");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameEqualTo(String value) {
            addCriterion("new_field_name =", value, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameNotEqualTo(String value) {
            addCriterion("new_field_name <>", value, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameGreaterThan(String value) {
            addCriterion("new_field_name >", value, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameGreaterThanOrEqualTo(String value) {
            addCriterion("new_field_name >=", value, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameLessThan(String value) {
            addCriterion("new_field_name <", value, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameLessThanOrEqualTo(String value) {
            addCriterion("new_field_name <=", value, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameLike(String value) {
            addCriterion("new_field_name like", value, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameNotLike(String value) {
            addCriterion("new_field_name not like", value, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameIn(List<String> values) {
            addCriterion("new_field_name in", values, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameNotIn(List<String> values) {
            addCriterion("new_field_name not in", values, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameBetween(String value1, String value2) {
            addCriterion("new_field_name between", value1, value2, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andNewFieldNameNotBetween(String value1, String value2) {
            addCriterion("new_field_name not between", value1, value2, "newFieldName");
            return (Criteria) this;
        }

        public Criteria andConditionIsNull() {
            addCriterion("\"condition\" is null");
            return (Criteria) this;
        }

        public Criteria andConditionIsNotNull() {
            addCriterion("\"condition\" is not null");
            return (Criteria) this;
        }

        public Criteria andConditionEqualTo(String value) {
            addCriterion("\"condition\" =", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotEqualTo(String value) {
            addCriterion("\"condition\" <>", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionGreaterThan(String value) {
            addCriterion("\"condition\" >", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionGreaterThanOrEqualTo(String value) {
            addCriterion("\"condition\" >=", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionLessThan(String value) {
            addCriterion("\"condition\" <", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionLessThanOrEqualTo(String value) {
            addCriterion("\"condition\" <=", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionLike(String value) {
            addCriterion("\"condition\" like", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotLike(String value) {
            addCriterion("\"condition\" not like", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionIn(List<String> values) {
            addCriterion("\"condition\" in", values, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotIn(List<String> values) {
            addCriterion("\"condition\" not in", values, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionBetween(String value1, String value2) {
            addCriterion("\"condition\" between", value1, value2, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotBetween(String value1, String value2) {
            addCriterion("\"condition\" not between", value1, value2, "condition");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNull() {
            addCriterion("sort_num is null");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNotNull() {
            addCriterion("sort_num is not null");
            return (Criteria) this;
        }

        public Criteria andSortNumEqualTo(Integer value) {
            addCriterion("sort_num =", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotEqualTo(Integer value) {
            addCriterion("sort_num <>", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThan(Integer value) {
            addCriterion("sort_num >", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort_num >=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThan(Integer value) {
            addCriterion("sort_num <", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThanOrEqualTo(Integer value) {
            addCriterion("sort_num <=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumIn(List<Integer> values) {
            addCriterion("sort_num in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotIn(List<Integer> values) {
            addCriterion("sort_num not in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumBetween(Integer value1, Integer value2) {
            addCriterion("sort_num between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotBetween(Integer value1, Integer value2) {
            addCriterion("sort_num not between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andCreatedUserIsNull() {
            addCriterion("created_user is null");
            return (Criteria) this;
        }

        public Criteria andCreatedUserIsNotNull() {
            addCriterion("created_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedUserEqualTo(String value) {
            addCriterion("created_user =", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserNotEqualTo(String value) {
            addCriterion("created_user <>", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserGreaterThan(String value) {
            addCriterion("created_user >", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserGreaterThanOrEqualTo(String value) {
            addCriterion("created_user >=", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserLessThan(String value) {
            addCriterion("created_user <", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserLessThanOrEqualTo(String value) {
            addCriterion("created_user <=", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserLike(String value) {
            addCriterion("created_user like", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserNotLike(String value) {
            addCriterion("created_user not like", value, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserIn(List<String> values) {
            addCriterion("created_user in", values, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserNotIn(List<String> values) {
            addCriterion("created_user not in", values, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserBetween(String value1, String value2) {
            addCriterion("created_user between", value1, value2, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedUserNotBetween(String value1, String value2) {
            addCriterion("created_user not between", value1, value2, "createdUser");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserIsNull() {
            addCriterion("updated_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserIsNotNull() {
            addCriterion("updated_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserEqualTo(String value) {
            addCriterion("updated_user =", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserNotEqualTo(String value) {
            addCriterion("updated_user <>", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserGreaterThan(String value) {
            addCriterion("updated_user >", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserGreaterThanOrEqualTo(String value) {
            addCriterion("updated_user >=", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserLessThan(String value) {
            addCriterion("updated_user <", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserLessThanOrEqualTo(String value) {
            addCriterion("updated_user <=", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserLike(String value) {
            addCriterion("updated_user like", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserNotLike(String value) {
            addCriterion("updated_user not like", value, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserIn(List<String> values) {
            addCriterion("updated_user in", values, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserNotIn(List<String> values) {
            addCriterion("updated_user not in", values, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserBetween(String value1, String value2) {
            addCriterion("updated_user between", value1, value2, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedUserNotBetween(String value1, String value2) {
            addCriterion("updated_user not between", value1, value2, "updatedUser");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNull() {
            addCriterion("updated_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNotNull() {
            addCriterion("updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeEqualTo(Date value) {
            addCriterion("updated_time =", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotEqualTo(Date value) {
            addCriterion("updated_time <>", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThan(Date value) {
            addCriterion("updated_time >", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_time >=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThan(Date value) {
            addCriterion("updated_time <", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("updated_time <=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIn(List<Date> values) {
            addCriterion("updated_time in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotIn(List<Date> values) {
            addCriterion("updated_time not in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("updated_time between", value1, value2, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("updated_time not between", value1, value2, "updatedTime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}